<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::group([
    'namespace' => '\\App\\Http\\Controllers'
], function () {
    Route::post('clue/files', 'FileController@uploadClueAudio');
    Route::post('clue/store_buy_clue', 'ClueController@buyClueStore');
    Route::post('clue/business_store/', 'ClueController@clueStoreApi');
    Route::get('clue/index_buy_clue', 'ClueController@buyClueIndex');
    Route::post('clue/input', 'ClueController@store')->name('api.clue.input');
    Route::any('clue/access_clue', 'ClueController@handleClue')->name('api.clue.access');
});
